﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CrawlFish.Web;

namespace TestApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("How deep would you like to crawl?");
            string deep = Console.ReadLine();
            CrawlConfig config = new CrawlConfig();
            config.Sanity = Convert.ToInt32(deep);
            Console.WriteLine("Where do you want to output the files?");
            string outpath = Console.ReadLine();
            Crawler crawler = new Crawler(config, outpath);
            Console.WriteLine("What url do you want to crawl?");
            string url = Console.ReadLine();
            crawler.Crawl(url);
        }
    }
}
